<?php
$url = $this->url;
?>
<form action="" method="post" Name="f_dsp_login">
<?php echo $this->formHidden("hdn_autorem","0",null); ?>
	<div class="title_bg_dangnhap">
         <p>Đăng nhập hệ thống</p>
    </div>
	<table width="100%" class="login_form" cellpadding="0" cellspacing="0">
			<col width="25%"><col width="75%">
			<tr>
				<td class="normal_label_net"><?php echo 'Tên đăng nhập';?></td>
				<td> <input name="username" id="username" value="<?=$this->username?>" type="text" class="normal_textbox_net" value="<?echo $this->username ?>"  message = "Phải xác định Tên đăng nhập!" ></td>
			</tr>
			<tr style="height: 25px;">
				<td class="normal_label_net"><?php echo 'Mật khẩu';?></td>
				<td><input Name="password" Type="password" value="<?=$this->password?>" class="normal_textbox_net" message = "Phải xác định mật khẩu!"  ></td>
			</tr>
			<tr>
				<td>
				</td>
				<td>
					<input id="remember" name="remember" type="checkbox"/><label for="remember">Ghi nhớ mật khẩu</label>
				</td>
			</tr>
			<tr style="height: 40px;">
				<td></td>
				<td align="left" width="100%" valign="center">
					<div class="border-login" style=" float:left"> <input Type="button" Name="btn_save"class="add_large_button_net" value="Đăng nhập"  onclick = "btn_save_onclick();"> </div>
					
				</td>
			</tr>
			<tr>
				<td>
				</td>
				<td>
					<a href="<?=$this->baseUrl()?>/web/user/register/">Đăng ký tài khoản</a>
				</td>
			</tr>
			<div>
		<!-- ghinho-mk
help-login -->	
	</table>
	
</form>
<script language="JavaScript">
	set_focus(document.forms[0]);
	if('<?=$this->sCheckReme?>'!=0){
		$('#remember').attr('checked',true);
	}else{
		$('#remember').attr('checked',false);
	}
	function btn_save_onclick(){
		if (verify(document.forms["f_dsp_login"])){
			actionUrl('');
		}
	}
</script>